/*
 * @Author: huangtianyang 916072572@qq.com
 * @Date: 2023-09-21 15:32:51
 * @LastEditors: huangtianyang
 * @LastEditTime: 2023-09-21 15:35:31
 * @FilePath: \cxl-admin\src\apis\statistics\consume.ts
 */
import axios from '../../axios/index'

/**
 * 消费统计-产品查询量
 * @returns
 */
export const consumeYearChart = (year?: string) => {
    return axios({
        method: 'get',
        url: '/api/report/report/product/month/count',
        params: { year }
    })
}

/**
 * 消费统计-各市查询情况
 * @returns
 */
export const consumeCityChart = () => {
    return axios({
        method: 'get',
        url: '/api/report/report/product/city/count'
    })
}
